package com.kl.service;

import com.kl.em.Result;
import com.kl.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2021-10-29
 */
public interface IRoleService extends IService<Role> {

    Result addRole(Role role, Integer[] mids);

    Role toUpdate(Integer rid);

    Result updateRole(Role role, Integer[] mids);

    Result deleteByRid(Integer rid);
}
